package com.hyt.it.ogt.ks.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.hyt.it.ogt.ks.feign.hystrix.PjClientHystrix;


/**
 * 报名接口
 * @author 洪滨滨
 * @since 2020/6/12 
 */
@FeignClient(name="it-ogt-pj${pj.tag:}", fallback = PjClientHystrix.class)
public interface PjClient {

    /**
     * 获取小题得分
	 * @param projectId
     * @param admissionNum
     * @return
     */
	@GetMapping("/markApi/getStudentItemScore")
	String getStudentItemScore(@RequestParam String projectId, @RequestParam String admissionNum);
	
	/**
	 * 获取主观题总分和状态
	 * @param projectId
	 * @param admissionNum
	 * @return
	 */
	@GetMapping("/markApi/getStudentSubjectScore")
	String getStudentSubjectScore(@RequestParam String projectId, @RequestParam String admissionNum);
	

}
